package com.sunwayworld.basemodule.common.eptstorage.file.excelread.service;

import com.sunwayworld.basemodule.common.eptstorage.file.excelread.bean.LimsExcelReadconfigBean;
import com.sunwayworld.basemodule.common.eptstorage.file.excelread.bean.LimsSheetReadconfigBean;
import com.sunwayworld.basemodule.common.eptstorage.file.excelread.bean.LimsSheetTitleConfigBean;
import com.sunwayworld.basemodule.common.eptstorage.file.excelread.listener.SheetData;
import com.sunwayworld.framework.restful.data.RestJsonWrapperBean;
import com.sunwayworld.framework.support.base.service.GenericService;
import com.sunwayworld.framework.support.choosable.service.GenericChoosableService;
import com.sunwayworld.framework.support.selectable.service.GenericSelectableService;

import java.io.File;
import java.util.List;

public interface LimsExcelReadconfigService extends GenericService<LimsExcelReadconfigBean, Long>, GenericChoosableService<LimsExcelReadconfigBean, Long>, GenericSelectableService<LimsExcelReadconfigBean, Long> {

    IExcelDataStorageService getExcelDataStorageService(LimsExcelReadconfigBean excelReadconfigBean);

    List<SheetData> testparse(RestJsonWrapperBean wrapper);

    List<SheetData> parse(File excelFile, List<LimsSheetReadconfigBean> readconfigBeans, List<LimsSheetTitleConfigBean> titleConfigBeans);
}
